﻿
using DemoForBillOcr;
using System.Collections.Generic;

namespace TaxAssistantBase
{

    public class InvoiiceOcrModel : BasePostModel
    {
        public int id
        {
            get; set;
        }
        //public string token;
        //图片地址
        public string imgUrl
        {
            get; set;
        }
        // varchar(300) DEFAULT NULL COMMENT '开票日期',
        public string billingDate
        {
            get; set;
        }
        // varchar(300) DEFAULT NULL COMMENT '发票号码',
        public string invoiceNum
        {
            get; set;
        }
        //总字符串
        public string invoiceinfoall
        {
            get; set;
        }
        //公司名称
        public string companyName
        {
            get; set;
        }
        //公司税号
        public string companyTaxnum
        {
            get; set;
        }
        //所属日期
        public string declaredate
        {
            get; set;
        }
        public string addTime
        {
            get; set;
        }
        public string tianxiedate;//填写日期
        //批次时间
        public string batchtime
        {
            get; set;
        }
        //状态描述
        public string stateDesc
        {
            get; set;
        }
        public int billtype;//单据类型
        public int state;//状态
        public string todaytime;//当前时间
        //批次号
        public string batchnumber
        {
            get; set;
        }
        //单据类型描述
        public string billtypeDesc
        {
            get; set;
        }
        public string mac;//mac机器mac
        //批次时间
        public string batchtimes
        {
            get; set;
        }
        public string  md5
        {
            get; set;
        }
        public string isloading// add  `isloading` varchar(50)  DEFAULT NULL COMMENT '是否已读';
        {
            get; set;
        }
        public string errormessage// varchar(500) DEFAULT NULL COMMENT '错误原因',
        {
            get; set;
        }
        /// <summary>
        /// 处理数
        /// </summary>
        public string processingnum
        {
            get; set;
        }
        // varchar(20) DEFAULT NULL COMMENT '获取公司匹配状态类型';
        public string companyState
        {
            get; set;
        }
        // varchar(20) DEFAULT NULL COMMENT '';
        public string productName
        {
            get; set;
        } // varchar(20) DEFAULT NULL COMMENT '';
        public string ocrProductName
        {
            get; set;
        }
        public string defaultTaxRate
        {//默认税率
            get; set;
        }
        // varchar(20) DEFAULT NULL COMMENT '城市名称';
        public string cityName
        {
            get; set;
        }
        public string currentTime
        {
            get; set;
        }
        public List<InvoiceSonModel> invoiceOcrSonLists=new List<InvoiceSonModel>();

        public List<invoiceOcrDetailedModel> invoiceOcrDetailedDtoList = new List<invoiceOcrDetailedModel>();


        public IList<InvoiceSonModel> invoiceOcrSonListSet = new List<InvoiceSonModel>();
        public IList<invoiceOcrDetailedModel> invoiceOcrListDetailedSet = new List<invoiceOcrDetailedModel>();
        // public List<BatchInfo> batchlist;

        //public override string ToString()
        //{
        //    return "token:" + token + ",aiMacId:" + aiMacId + ",aiMacIp:" + aiMacIp;
        //}

    }
}
